package com.xiaoq.matrix.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.xiaoq.MongoEntity;
import com.xiaoq.matrix.vo.PublishResultVo;
import org.mongodb.morphia.annotations.Entity;
import org.mongodb.morphia.annotations.Transient;

import java.io.Serializable;
import java.util.List;

@Entity(value="content",noClassnameStored=true)
public class ContentEntity extends MongoEntity implements Serializable {
	
	
	@JsonIgnore
	@Transient
	private static final long serialVersionUID = 8085756571325922287L;
	
	private String name; //名称
	private String title; // 标题
	private String imgUrl; // 主图Url
	private String thumbUrl; // 缩略图url
	private String introduction; // 简介
	private String merchantId; // 商家ID
	private String shopId; // 店家ID
	private String shopType; // 店家类型
	private String createdBy; // 管理员ID
	private String detailInfo; // 内容详情
	private String pubStatus; // 发布状态(0已提交1已发布,2已经分发,3审核失败)
	private List<PublishResultVo> pubStatusDetail; // 发布状态详情
	private Long pubTime; // 首次发布时间
	private List mediaList; // 同步媒体列
	private String staticPath; // 静态路径
	private String zoneProvince; // 区划省
	private String zoneCity;// 区划市
	private String zoneDistrict;// 换分区
	private String staticId; //静态地址的静态Id
	private int quantity;  // 阅读量
	private Integer shareNum; // 分享量
	private String shareStatus; //分享第三方平台状态（0发布中，1全部发布失败，2部分失败，3全部成功）
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getImgUrl() {
		return imgUrl;
	}
	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}
	public String getThumbUrl() {
		return thumbUrl;
	}
	public void setThumbUrl(String thumbUrl) {
		this.thumbUrl = thumbUrl;
	}
	public String getIntroduction() {
		return introduction;
	}
	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}
	public String getMerchantId() {
		return merchantId;
	}
	public void setMerchantId(String merchantId) {
		this.merchantId = merchantId;
	}
	public String getShopId() {
		return shopId;
	}
	public void setShopId(String shopId) {
		this.shopId = shopId;
	}
	public String getShopType() {
		return shopType;
	}
	public void setShopType(String shopType) {
		this.shopType = shopType;
	}
	public String getCreatedBy() {
		return createdBy;
	}
	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}
	public String getDetailInfo() {
		return detailInfo;
	}
	public void setDetailInfo(String detailInfo) {
		this.detailInfo = detailInfo;
	}
	public String getPubStatus() {
		return pubStatus;
	}
	public void setPubStatus(String pubStatus) {
		this.pubStatus = pubStatus;
	}
	public List<PublishResultVo> getPubStatusDetail() {
		return pubStatusDetail;
	}
	public void setPubStatusDetail(List<PublishResultVo> pubStatusDetail) {
		this.pubStatusDetail = pubStatusDetail;
	}
	public Long getPubTime() {
		return pubTime;
	}
	public void setPubTime(Long pubTime) {
		this.pubTime = pubTime;
	}
	public List getMediaList() {
		return mediaList;
	}
	public void setMediaList(List mediaList) {
		this.mediaList = mediaList;
	}
	public String getStaticPath() {
		return staticPath;
	}
	public void setStaticPath(String staticPath) {
		this.staticPath = staticPath;
	}
	public String getZoneProvince() {
		return zoneProvince;
	}
	public void setZoneProvince(String zoneProvince) {
		this.zoneProvince = zoneProvince;
	}
	public String getZoneCity() {
		return zoneCity;
	}
	public void setZoneCity(String zoneCity) {
		this.zoneCity = zoneCity;
	}
	public String getZoneDistrict() {
		return zoneDistrict;
	}
	public void setZoneDistrict(String zoneDistrict) {
		this.zoneDistrict = zoneDistrict;
	}
	public String getStaticId() {
		return staticId;
	}
	public void setStaticId(String staticId) {
		this.staticId = staticId;
	}
	public int getQuantity() {
		return quantity;
	}
	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}
	public Integer getShareNum() {
		return shareNum;
	}
	public void setShareNum(Integer shareNum) {
		this.shareNum = shareNum;
	}
	public String getShareStatus() {
		return shareStatus;
	}
	public void setShareStatus(String shareStatus) {
		this.shareStatus = shareStatus;
	}
	
	

}
